package com.ywq.app.dao;
import java.util.List;
import java.util.Map;
import com.ywq.app.domain.ArtAuction;
import com.ywq.app.domain.ArtAuctionPic;
import com.ywq.app.domain.ArtReminder;
import com.ywq.app.domain.PicBidLog;
import com.ywq.common.exception.AppBusinessException;

public interface ArtAuctionDao {
	public int getArtAuctionListCount(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtAuction> getArtAuctionList(Map<String, Object> map) throws AppBusinessException;
	
	public void insertArtAuction(ArtAuction artAuction) throws AppBusinessException;
	
	public void updateArtAuction(ArtAuction artAuction) throws AppBusinessException;
	
	public List<ArtAuction> getOldAuctionList(Map<String, Object> map)throws AppBusinessException;
	
	public List<ArtAuction> getNowAuctionList(Map<String, Object> map)throws AppBusinessException;
	
	public int getOldAuctionListCount(Map<String, Object> map)throws AppBusinessException;
	
	public ArtAuction getInAuctionById(Map<String, Object> map)throws AppBusinessException;
	
	//public void insertArtAuctionIst(ArtAuctionArtist artAuctionArtist) throws AppBusinessException;
	
	//public List<ArtArtist> getArtArtistList(String AuctionId)throws AppBusinessException;
	
	public void insertArtAuctionPic(ArtAuctionPic artAuctionPic) throws AppBusinessException;
	
	public List<ArtAuctionPic> getArtAuctionPicById(Map<String, Object> map)throws AppBusinessException;
	
	public int getArtAuctionPicByIdCount(Map<String, Object> map)throws AppBusinessException;
	
	public void insertArtReminder(ArtReminder artReminder) throws AppBusinessException;

	public PicBidLog getSumBidPirceLog(String auctionId) throws AppBusinessException;
	
	public List<PicBidLog> getLogListBid(Map<String, Object> map)throws AppBusinessException;
	
	public void deleteAuctionPic(Map<String, Object> map) throws AppBusinessException;

}
